package com.hegongda.okcmall.product.service;

import com.baomidou.mybatisplus.extension.service.IService;
import com.hegongda.common.utils.PageUtils;
import com.hegongda.okcmall.product.entity.AttrAttrgroupRelationEntity;

import java.util.List;
import java.util.Map;

/**
 * 属性&属性分组关联
 *
 * @author Liuweidong
 * @email Liuweidong@gmail.com
 * @date 2021-01-31 17:57:14
 */
public interface AttrAttrgroupRelationService extends IService<AttrAttrgroupRelationEntity> {

    PageUtils queryPage(Map<String, Object> params);

    AttrAttrgroupRelationEntity selectOne(Long attrId);

    List<Long> getAttrIds(String groupId);

    void deleteRecoder(List<AttrAttrgroupRelationEntity> entity);
}

